package com.gov.dna.admin.service.impl;


import com.gov.dna.admin.entity.SysLogEn;
import com.gov.dna.admin.mapper.SysLogMapper;
import com.gov.dna.admin.service.SysLogService;
import com.gov.dna.base.service.impl.BaseServiceImpl;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 日志Service实现
 *
 * @author Zhou Miao 1204487745@qq.com
 * @version V1.0
 * @date 2019/1/4
 * @since (该版本支持的JDK版本) 1.8
 */
@Service
@AllArgsConstructor
public class SysLogServiceImpl extends BaseServiceImpl<SysLogMapper, SysLogEn> implements SysLogService {

    private SysLogMapper sysLogMapper;

    @Override
    public void save(SysLogEn sysLogEn) {
        this.sysLogMapper.insert(sysLogEn);
    }
}
